This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
I have a dialog box that I call from a button on a form. The dialog opens and inherits values from the underlying parent document but does not update the parent (not really part of the problem.
In the dialog the user fills in a bunch of fields then I have a button they press that goes out and based on the values in the fields creates a new document in another database. So I have something like this:
Call MyNewDoc.Save(True,False,True)
Call ThisUIDoc.Close(True) 'the UI doc for the dialog
Set MyNewUIDoc = WS.EditDocument(True,MyNewDoc)
Now the problem is that the ThisUIDoc.close does not actually close the dialog until after the LS has completed and the opening MyNewUIDoc is not allowed while the dialog is open. The description of the ThisUIDoc.Close(true) says that the True is to force an immediate close of the UIDoc but it does not. If I remove the WS.EditDocument line the dialog closes properly but I've lost the context of the MyNewDoc.
Any ideas on how this can be worked around.
Feedback number WEBB8HGNR5 created by ~Autumn Kijipymanakol on 06/03/2011
Status: Open
Comments: